package com.xiaoq.shop.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;

/**
 * @author xinpeng created on 2016/10/11-上午10:31.
 */

public class SKUGroupPurchasingInfoDTO implements Serializable {

    private String spuName;

    private String skuCode;

    private String specifications;

    private String imageUrlOfSKU;

    private double groupPurchasePrice; //团购价格

    private int minNumberOfPurchaser; //最小成团人数

    private int maxOfGroups;  //最大开团个数

    private String startEndTime; //开始-结束时间

    private String groupPurchaseState; //团购状态  1未开始  2 进行中 3已结束

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getImageUrlOfSKU() {
        return imageUrlOfSKU;
    }

    public void setImageUrlOfSKU(String imageUrlOfSKU) {
        this.imageUrlOfSKU = imageUrlOfSKU;
    }

    public double getGroupPurchasePrice() {
        return groupPurchasePrice;
    }

    public void setGroupPurchasePrice(double groupPurchasePrice) {
        this.groupPurchasePrice = groupPurchasePrice;
    }

    public int getMinNumberOfPurchaser() {
        return minNumberOfPurchaser;
    }

    public void setMinNumberOfPurchaser(int minNumberOfPurchaser) {
        this.minNumberOfPurchaser = minNumberOfPurchaser;
    }

    public int getMaxOfGroups() {
        return maxOfGroups;
    }

    public void setMaxOfGroups(int maxOfGroups) {
        this.maxOfGroups = maxOfGroups;
    }

    public String getStartEndTime() {
        return startEndTime;
    }

    public void setStartEndTime(String startEndTime) {
        this.startEndTime = startEndTime;
    }

    public String getGroupPurchaseState() {
        return groupPurchaseState;
    }

    public void setGroupPurchaseState(String groupPurchaseState) {
        this.groupPurchaseState = groupPurchaseState;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
